<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace Home\Model;
use Think\Model;

/**
 * 文档基础模型
 */
class DisneypriceModel extends Model{
	public function getDisneyPrice(){
		$disneyprice_date = $this
		->field('price,type')
		->select();
		foreach ($disneyprice_date as $key => $value) {
			$result[$value['type']] = $value['price'];
		}
		return $result;
	}
}
